3.2674 \(\int x^m \sqrt{a+b x^n} \, dx\)

Optimal. Leaf size=55 \[ \frac{x^{m+1} \left (a+b x^n\right )^{3/2} \, _2F_1\left (1,\frac{m+1}{n}+\frac{3}{2};\frac{m+n+1}{n};-\frac{b x^n}{a}\right )}{a (m+1)} \]

[Out]

(x^(1 + m)*(a + b*x^n)^(3/2)*Hypergeometric2F1[1, 3/2 + (1 + m)/n, (1 + m + n)/n, -((b*x^n)/a)])/(a*(1 + m))

________________________________________________________________________________________

Rubi [A]  time = 0.020358, antiderivative size = 64, normalized size of antiderivative = 1.16, number of steps used = 2, number of rules used = 2, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.133, Rules used = {365, 364} \[ \frac{x^{m+1} \sqrt{a+b x^n} \, _2F_1\left (-\frac{1}{2},\frac{m+1}{n};\frac{m+n+1}{n};-\frac{b x^n}{a}\right )}{(m+1) \sqrt{\frac{b x^n}{a}+1}} \]

Antiderivative was successfully verified.

[In]

Int[x^m*Sqrt[a + b*x^n],x]

[Out]

(x^(1 + m)*Sqrt[a + b*x^n]*Hypergeometric2F1[-1/2, (1 + m)/n, (1 + m + n)/n, -((b*x^n)/a)])/((1 + m)*Sqrt[1 +
(b*x^n)/a])

Rule 365

Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[(a^IntPart[p]*(a + b*x^n)^FracPart[p])
/(1 + (b*x^n)/a)^FracPart[p], Int[(c*x)^m*(1 + (b*x^n)/a)^p, x], x] /; FreeQ[{a, b, c, m, n, p}, x] &&  !IGtQ[
p, 0] &&  !(ILtQ[p, 0] || GtQ[a, 0])

Rule 364

Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(a^p*(c*x)^(m + 1)*Hypergeometric2F1[-
p, (m + 1)/n, (m + 1)/n + 1, -((b*x^n)/a)])/(c*(m + 1)), x] /; FreeQ[{a, b, c, m, n, p}, x] &&  !IGtQ[p, 0] &&
 (ILtQ[p, 0] || GtQ[a, 0])

Rubi steps

\begin{align*} \int x^m \sqrt{a+b x^n} \, dx &=\frac{\sqrt{a+b x^n} \int x^m \sqrt{1+\frac{b x^n}{a}} \, dx}{\sqrt{1+\frac{b x^n}{a}}}\\ &=\frac{x^{1+m} \sqrt{a+b x^n} \, _2F_1\left (-\frac{1}{2},\frac{1+m}{n};\frac{1+m+n}{n};-\frac{b x^n}{a}\right )}{(1+m) \sqrt{1+\frac{b x^n}{a}}}\\ \end{align*}

Mathematica [A]  time = 0.0151455, size = 65, normalized size = 1.18 \[ \frac{x^{m+1} \sqrt{a+b x^n} \, _2F_1\left (-\frac{1}{2},\frac{m+1}{n};\frac{m+1}{n}+1;-\frac{b x^n}{a}\right )}{(m+1) \sqrt{\frac{b x^n}{a}+1}} \]

Antiderivative was successfully verified.

[In]

Integrate[x^m*Sqrt[a + b*x^n],x]

[Out]

(x^(1 + m)*Sqrt[a + b*x^n]*Hypergeometric2F1[-1/2, (1 + m)/n, 1 + (1 + m)/n, -((b*x^n)/a)])/((1 + m)*Sqrt[1 +
(b*x^n)/a])

________________________________________________________________________________________

Maple [F]  time = 0.059, size = 0, normalized size = 0. \begin{align*} \int{x}^{m}\sqrt{a+b{x}^{n}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^m*(a+b*x^n)^(1/2),x)

[Out]

int(x^m*(a+b*x^n)^(1/2),x)

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{b x^{n} + a} x^{m}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^m*(a+b*x^n)^(1/2),x, algorithm="maxima")

[Out]

integrate(sqrt(b*x^n + a)*x^m, x)

________________________________________________________________________________________

Fricas [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: UnboundLocalError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^m*(a+b*x^n)^(1/2),x, algorithm="fricas")

[Out]

Exception raised: UnboundLocalError

________________________________________________________________________________________

Sympy [C]  time = 2.27217, size = 58, normalized size = 1.05 \begin{align*} \frac{\sqrt{a} x x^{m} \Gamma \left (\frac{m}{n} + \frac{1}{n}\right ){{}_{2}F_{1}\left (\begin{matrix} - \frac{1}{2}, \frac{m}{n} + \frac{1}{n} \\ \frac{m}{n} + 1 + \frac{1}{n} \end{matrix}\middle |{\frac{b x^{n} e^{i \pi }}{a}} \right )}}{n \Gamma \left (\frac{m}{n} + 1 + \frac{1}{n}\right )} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**m*(a+b*x**n)**(1/2),x)

[Out]

sqrt(a)*x*x**m*gamma(m/n + 1/n)*hyper((-1/2, m/n + 1/n), (m/n + 1 + 1/n,), b*x**n*exp_polar(I*pi)/a)/(n*gamma(
m/n + 1 + 1/n))

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{b x^{n} + a} x^{m}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^m*(a+b*x^n)^(1/2),x, algorithm="giac")

[Out]

integrate(sqrt(b*x^n + a)*x^m, x)